﻿<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

         <base href="<%=basePath%>">
        <jsp:include page="header.jsp"></jsp:include>
    </head>
    <body style="background-color:#ffffff">      
        <c:remove var="acc" scope="session" />
        <c:remove var="loginTime" scope="session" />
        <c:remove var="sessionPermission" scope="session" />
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <div class="Headerout1">
                            <div class="Footerout2">
                                <div class="Wrapper">
                                    <div class="wrapup">
<div align="left" style="padding-left:50px;padding-top:20px">
<img alt="" title="" src="images/logo.jpg" /></div>
                                    </div>
                                    <div style="padding-left:370px"><strong><font size="5px">电子商务报表分析平台</font></strong></div>   
                                    </div>
                                    <div class="Container" style="padding-top:20px">
                                        <div class="login_box">
                                            <form name="mainform" method="post">
                                                <h1>用户登录</h1>
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tbody><tr>
                                                            <td width="150" align="center"><strong>帐号 :</strong></td>
                                                            <td align="left"><input type="text" name="account" class="required" value=""/></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center"><strong>密码 :</strong></td>
                                                            <td align="left"><input type="password"  name="pwd"  class="required" value=""/></td>
                                                        </tr>
                                                    </tbody></table>
                                                <div class="buttonLogin">
                                                    <input class="login" type="button" value="登陆" onclick="document.location.href='<%=basePath%>admin/admin!index.action'" />
                                                </div>
                                            </form>
                                        </div>    
                                    </div>
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <jsp:include page="foot.jsp"></jsp:include>    
		<script>
			$(document).ready(function() {
				$('input[name="auth"]').keypress(function(event){
					if(event.keyCode == 13){
						formSubmit('mainform','','','');
					}
				});
			});
		</script>
    </body>
    <!-- InstanceEnd -->
</html>